package com.example.pong;

import android.graphics.Canvas;

public class Level {

	private static final Level level = new Level();
	
	private Wall east;
	private Wall west;
	private int width, height;
	
	private Level(){
		this.width = 480;
		this.height = 800;
		east = new Wall(0, 0, 10, height);
		west = new Wall(width-10, 0, width, height);
	}
	
	public static Level getInstance(){
		return level;
	}
	
	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}
	
	public Wall getEast() {
		return east;
	}

	public Wall getWest() {
		return west;
	}

	public void draw(Canvas canvas){
		east.draw(canvas);
		west.draw(canvas);
	}
	
}
